/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __214FF178_183A_4a9f_B9CD_F6571353940D__
#define __214FF178_183A_4a9f_B9CD_F6571353940D__

/////////////////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_common
{
    int url_encode( const char * lpszSrc, int nSrcLen, char * lpszDst, int nCharNum );
    int url_decode( const char * lpszSrc, int nSrcLen, char * lpszDst, int nCharNum );
    int hex_to_dec( unsigned char & cDec, char cHex );
    int dec_to_hex( unsigned char cDec, char & cHex );
}

#endif // __214FF178_183A_4a9f_B9CD_F6571353940D__
